package spring.boot.adminx.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
@TableName("wx_mini_first_page")
public class WxMiniFirstPage {

    @TableId
    private Long id;

    @TableField("wx_mini_app_id")
    private Long wxMiniAppId;

    private Integer type;

    @TableField("pic_url")
    private String picUrl;

    private String url;

    private String openid;

    @TableField("order_num")
    private Integer orderNum;

    @TableField("create_time")
    private Date createTime;

    private String remarks;

    @TableField(exist = false)
    private List<WxAd> wxAdList = new ArrayList<>();
}
